﻿using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using LeadThing.AbpZeroTemplate.UserMeetingRefs.Dtos;
using LeadThing.AbpZeroTemplate.Dto;

namespace LeadThing.AbpZeroTemplate.UserMeetingRefs
{
    /// <summary>
    /// 视频会议服务接口
    /// </summary>
    public interface IUserMeetingRefAppService : IApplicationService
    {
        #region 视频会议管理

        /// <summary>
        /// 根据查询条件获取视频会议分页列表
        /// </summary>
        Task<PagedResultDto<UserMeetingRefListDto>> GetPagedUserMeetingRefsAsync(GetUserMeetingRefInput input);

        /// <summary>
        /// 通过Id获取视频会议信息进行编辑或修改 
        /// </summary>
        Task<GetUserMeetingRefForEditOutput> GetUserMeetingRefForEditAsync(NullableIdDto<long> input);

        /// <summary>
        /// 通过指定id获取视频会议ListDto信息
        /// </summary>
        Task<UserMeetingRefListDto> GetUserMeetingRefByIdAsync(EntityDto<long> input);



        /// <summary>
        /// 新增或更改视频会议
        /// </summary>
        Task CreateOrUpdateUserMeetingRefAsync(CreateOrUpdateUserMeetingRefInput input);





        /// <summary>
        /// 新增视频会议
        /// </summary>
        Task<UserMeetingRefEditDto> CreateUserMeetingRefAsync(UserMeetingRefEditDto input);

        /// <summary>
        /// 更新视频会议
        /// </summary>
        Task UpdateUserMeetingRefAsync(UserMeetingRefEditDto input);

        /// <summary>
        /// 删除视频会议
        /// </summary>
        Task DeleteUserMeetingRefAsync(EntityDto<long> input);

        /// <summary>
        /// 批量删除视频会议
        /// </summary>
        Task BatchDeleteUserMeetingRefAsync(List<long> input);

        #endregion

        #region Excel导出功能



        /// <summary>
        /// 获取视频会议信息转换为Excel
        /// </summary>
        /// <returns></returns>
        Task<FileDto> GetUserMeetingRefToExcel();

        #endregion
    }
}
